package com.mmd.admin.model.pojo.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import java.util.Date;
import java.util.List;

@Getter
@Setter
@Builder
@ApiModel("角色")
public class RoleVO {
    @ApiModelProperty("唯一主键id")
    private Long id;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("当前数据 备注系统级字段 非业务逻辑字段")
    private String remark = "系统生成";

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("权限")
    private List<RuleVO> rules;
}
